package com.br.fmn.clubedoimovel.negocio.servico;

import java.io.IOException;

import com.br.fmn.clubedoimovel.negocio.entidade.PlaceGeometry;
import com.br.fmn.clubedoimovel.negocio.entidade.PlaceGeometry.PlaceLocation;

import android.os.AsyncTask;

public class GeocodeAsyncTask extends AsyncTask<String, Void, double[]> {

	private boolean error;

	@Override
	protected double[] doInBackground(String... params) {

		PlaceService placeGeocode = new PlaceService();
		try {

			PlaceLocation geocode = placeGeocode.performLocation(params[0]);

		} catch (IOException e) {

			error = true;
		}

		return null;

	}

	@Override
	protected void onPostExecute(double[] result) {
		super.onPostExecute(result);

	}

}
